package com.szit.deviceclient.remote;

import com.szit.deviceclient.remote.fallback.AdminFeignFallbackFactory;
import com.szit.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "admin-server",fallback = AdminFeignFallbackFactory.class)
public interface AdminFeign {

    @PostMapping("selectAdminUserByToken")
    @ResponseBody
    Result selectAdminUserByToken(@RequestParam String token);


}
